package org.itboys.mobile.service.mongo.front.dynamic;

import org.itboys.mobile.entity.mongo.dynamic.SundayDynamicProduct;
import org.itboys.mongodb.core.MongoDataSource;
import org.itboys.mongodb.service.BaseMongoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by zhangyang on 2018/1/8.
 * 圣代_社区动态_service(微信圈/本地爱购/特别关注/达人试用)
 */
@Service
public class SundayFrontDynamicProductService extends BaseMongoService<SundayDynamicProduct>{

    @Resource(name = "mobileDs")
    private MongoDataSource sundayDataSource;
    @Override
    protected MongoDataSource getMongoDataSource() {
        return sundayDataSource;
    }

    @Override
    protected Class<SundayDynamicProduct> getEntityClass() {
        return SundayDynamicProduct.class;
    }


}
